labelPosition: 'right',
${viewCode}: {
submitStatus: "init"
<#if (jsonSchema.properties)??>
    ,
    <#list jsonSchema.properties as prop>
        ${prop.field}:
        <#if prop.type == 'text' || prop.type == 'password' || prop.type == 'radio'
        || prop.type == 'integer' || prop.type == 'double'|| prop.type == 'datetime'
        || prop.type == 'date'>
            <#if (formData[key])??>
                "${formData[key]}"
            <#elseif prop.default??>
                "${prop.default}"
            <#else>
                ""
            </#if>
        <#elseif prop.type == 'checkbox'>
            <#if (formData[key])??>
                [
                <#list formData[key] as def>
                    "${def}" <#sep>,
                </#list>
                ]
            <#elseif prop.default??>
                [
                <#list prop.default as def>
                    "${def}" <#sep>,
                </#list>
                ]
            <#else>
                []
            </#if>
        <#elseif prop.type == 'select'>
            <#if prop.multiselect?? && prop.multiselect>
                <#if (formData[key])??>
                    [
                    <#list formData[key] as def>
                        "${def}" <#sep>,
                    </#list>
                    ]
                <#elseif prop.default??>
                    [
                    <#list prop.default as def>
                        "${def}" <#sep>,
                    </#list>
                    ]
                <#else>
                    []
                </#if>
            <#else>
                <#if (formData[key])??>
                    "${formData[key]}"
                <#elseif prop.default??>
                    "${prop.default}"
                <#else>
                    ''
                </#if>
            </#if>

        </#if>
        <#sep >,
    </#list>
</#if>
},
${viewCode}Rules: {
<#if (jsonSchema.properties)??>
    <#list jsonSchema.properties as prop>
        ${prop.field}:
        <#if prop.required?? && prop.required>
            [{
            required: true, message: '请输入${prop.title}', trigger: 'blur'
            }]
        <#else>
            []
        </#if>
        <#sep >,
    </#list>
</#if>
}